projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38837b
)
(x_window): Call XSetWMProtocols.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 26 Nov 1993 21:50:57 +0000
(21:50 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 26 Nov 1993 21:50:57 +0000
(21:50 +0000)
src/xfns.c
patch
|
blob
|
history
diff --git
a/src/xfns.c
b/src/xfns.c
index 249f89ba75624e4cdd68120a5495a5c641bb798c..754389db7430349456584190c40499782e4ad736 100644
(file)
--- a/
src/xfns.c
+++ b/
src/xfns.c
@@
-1574,6
+1574,8
@@
x_window (f)
f->display.x->wm_hints.input = True;
f->display.x->wm_hints.flags |= InputHint;
XSetWMHints (x_current_display, FRAME_X_WINDOW (f), &f->display.x->wm_hints);
+ XSetWMProtocols (x_current_display, FRAME_X_WINDOW (f),
+ &Xatom_wm_delete_window, 1);
/* x_set_name normally ignores requests to set the name if the
requested name is the same as the current name. This is the one